home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 60754 / 60754.xpi / chrome / content / ststimer.xul < prev   
Extensible Markup Language  |  2010-02-05  |  2KB  |  61 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay SYSTEM "chrome://ststimer/locale/ststimer.dtd">
  4.  
  5. <overlay id="ststimer"
  6.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8.     <script type="application/javascript"
  9.         src="chrome://ststimer/content/ststimer.js"/>
  10.  
  11.     <stringbundleset id="stringbundleset">
  12.         <stringbundle id="string_bundle" src="chrome://ststimer/locale/ststimer.properties"/>
  13.     </stringbundleset>
  14.  
  15.     <statusbar id="status-bar">
  16.  
  17.         <statusbarpanel id="sb_ststimer"
  18.             style="cursor:pointer"
  19.             class="statusbarpanel-iconic-text"
  20.             label="&sb_ststimer_loading;"
  21.             tooltiptext="STS Timer"
  22.             onclick="ststimer.onClick(event)"
  23.         />
  24.  
  25.         <popupset>
  26.  
  27.             <menupopup id="sb_popup_rightClick">
  28.                 <menuitem label="&sb_popup_rightClick_refresh;" oncommand="ststimer.onLoad().worker.postMessage('')"/>
  29.                 <menuseparator/>
  30.                 <menuitem label="&sb_popup_rightClick_options;" oncommand="openDialog('chrome://ststimer/content/options.xul')"/>
  31.             </menupopup>
  32.  
  33.             <menupopup id="sb_popup_centralClick" oncommand="this.hidePopup()">
  34.                 <radiogroup id="sb_popup_centralClick_group">
  35.                     <radio label="&sb_popup_centralClick_standard;" oncommand="ststimer.prefs.setIntPref('sb_mode', '0')"/>
  36.                     <radio label="&sb_popup_centralClick_classic;" oncommand="ststimer.prefs.setIntPref('sb_mode', '1')"/>
  37.                     <radio label="&sb_popup_centralClick_reduced;" oncommand="ststimer.prefs.setIntPref('sb_mode', '2')"/>
  38.                     <radio label="&sb_popup_centralClick_onlyDays;" oncommand="ststimer.prefs.setIntPref('sb_mode', '3')"/>
  39.                 </radiogroup>
  40.             </menupopup>
  41.  
  42.             <panel id="sb_popup_leftClick" onclick="this.hidePopup()">
  43.                 <label id="sb_popup_leftClick_label1" style="font-weight:bolder; font-size:120%"/>
  44.                 <label id="sb_popup_leftClick_label2" style="font-weight:bolder; font-size:120%"/>
  45.                 <label id="sb_popup_leftClick_label3" style="font-weight:bolder; font-size:120%"/>
  46.                 <label id="sb_popup_leftClick_label4" style="font-weight:bolder; font-size:120%"/>
  47.             </panel>
  48.  
  49.             <panel id="sb_popup_leftClick_stsEnd" onclick="this.hidePopup()">
  50.                 <label value="&sb_popup_leftClick_stsEnd_label;" style="font-weight:bolder; font-size:120%"/>
  51.             </panel>
  52.  
  53.             <panel id="sb_popup_panel" noautohide="true" onclick="this.hidePopup()">
  54.                 <label id="sb_popup_panel_label" style="font-weight:bolder; font-size:150%"/>
  55.             </panel>
  56.  
  57.         </popupset>
  58.  
  59.     </statusbar>
  60.  
  61. </overlay>